package com.bckj.fastboot.iot.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bckj.fastboot.core.lang.model.PageResult;
import com.bckj.fastboot.iot.common.dto.query.IotDeviceQuery;
import com.bckj.fastboot.iot.common.dto.request.IotDeviceRequest;
import com.bckj.fastboot.iot.common.dto.response.IotDeviceResponse;

import java.util.List;

/**
 * IotDeviceService
 *
 * @author wfc
 * @date 2025/10/9 15:55
 **/
public interface IotDeviceService {

    boolean save(IotDeviceRequest request);

    boolean update(IotDeviceRequest request);

    IotDeviceResponse details(Long id);

    List<IotDeviceResponse> findList(IotDeviceQuery query);

    PageResult<IotDeviceResponse> page(IPage<IotDeviceResponse> page, IotDeviceQuery query);
}
